package com.example.learn_spring_boot3.service;

import com.example.learn_spring_boot3.utils.ResponseData;
import org.springframework.http.ResponseEntity;

/**
 *  测试 mysql 业务接口
 */
public interface TestMysqlService {
    /**
     * 查询所有的用户
     */
    public ResponseEntity<ResponseData> queryUserList();

    /**
     * 新增用户
     */
    public ResponseEntity<ResponseData> addUser();

    /**
     * 根据id删除用户
     */
    public ResponseEntity<ResponseData> deleteUser(int id);
}
